Configure VLACP Flap Detect and Damping on a Port

About this task

Perform the following procedure to control link state changes on VLACP ports. By default, VLACP Flap Detect and Damping is disabled on all VLACP ports.

Important

Important

Do not enable VLACP Flap Detect and Damping on Link Aggregation Control Protocol (LACP) enabled ports.

Before you begin

  • To configure VLACP Flap Detect and Damping on sub-ports, enable channelization. For more information about channelization, see Channelization.

  • As a best practice, to modify an existing VLACP Flap Detect and Damping configuration, first disable VLACP on the interface.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Enable VLACP Flap Detect and Damping on the specified port:

    vlacp flap-detect enable

  3. Configure the time interval (in seconds) to record VLACP flaps:

    vlacp flap-interval <10-600>

  4. Configure the VLACP flap frequency:

    vlacp flap-frequency <3-30>

  5. View VLACP Flap Detect and Damping configuration on the specific port:

    show vlacp interface gigabitethernet {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Example

Configure VLACP Flap Detect and Damping on port 1/3:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#interface GigabitEthernet 1/3
Switch:1(config-if)#vlacp flap-detect enable
Switch:1(config-if)#vlacp flap-interval 120
Switch:1(config-if)#vlacp flap-frequency 6
Switch:1(config-if)#show vlacp interface gigabitethernet 1/3
=========================================================================================
                               VLACP Information
=========================================================================================
INDEX ADMIN   OPER    PORT   FAST    SLOW    TIMEOUT TIMEOUT ETHER      MAC     
      ENABLED ENABLED STATE  TIME    TIME    TIME    SCALE   TYPE       ADDR    
-----------------------------------------------------------------------------------------
1/3   false   false   DOWN  200     30000    long     3      0x8103    01:80:c2:00:11:00

=========================================================================================
                         VLACP Flap Detect Information
=========================================================================================
INDEX FLAP    FLAP   FLAP      TOTAL    FIRST-FLAP         LAST-FLAP
      DETECT  FREQ   INTERVAL  FLAP     TIME               TIME
-----------------------------------------------------------------------------------------
1/3   enable   6     120	    6       01/03/19 15:11:52  01/03/19 15:12:12

Variable Definitions

Use data in the following table to use the vlacp command.

Variable

Value

flap-detect enable

Enables VLACP Flap Detect and Damping on the specified port. By default, VLACP Flap Detect and Damping is disabled on all ports.

flap-interval<10-600>

Configures VLACP Flap Detect and Damping time interval in seconds. The default value is 60 seconds.

flap-frequency<3-30>

Configures the VLACP Flap count permitted during the configured time interval. The default value is 3.